การใช งานและต ดต งระบบ OpenStack ซอฟต แวร สาหร บบร หารจ ดการ Cloud Computing เบ องต น



Similar documents
Cloud on TEIN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat University

Cloud on TIEN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat

Introduction to Openstack, an Open Cloud Computing Platform. Libre Software Meeting

Mirantis

Building a Cloud Computing Platform based on Open Source Software Donghoon Kim ( donghoon.kim@kt.com ) Yoonbum Huh ( huhbum@kt.

Mobile Cloud Computing T Open Source IaaS

OpenStack Introduction. November 4, 2015

OpenStack Ecosystem and Xen Cloud Platform

Multi Provider Cloud. Srinivasa Acharya, Engineering Manager, Hewlett-Packard

Release Notes for Fuel and Fuel Web Version 3.0.1

OpenStack Installation Guide for Red Hat Enterprise Linux, CentOS, and Fedora

OpenStack IaaS. Rhys Oxenham OSEC.pl BarCamp, Warsaw, Poland November 2013

Today. 1. Private Clouds. Private Cloud toolkits. Private Clouds and OpenStack Introduction

CERN Cloud Infrastructure. Cloud Networking

How To Use Openstack At Cern

OpenStack Awareness Session

Hadoop on OpenStack Cloud. Dmitry Mescheryakov Software

Iron Chef: Bare Metal OpenStack

Openstack. Cloud computing with Openstack. Saverio Proto

Introduction to OpenStack

AMD SEAMICRO OPENSTACK BLUEPRINTS CLOUD- IN- A- BOX OCTOBER 2013

cloud functionality: advantages and Disadvantages

SWIFT. Page:1. Openstack Swift. Object Store Cloud built from the grounds up. David Hadas Swift ATC. HRL 2012 IBM Corporation

Corso di Reti di Calcolatori M

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

Moving SNE to the Cloud

OpenStack Alberto Molina Coballes

Change the Game with HP Helion

UZH Experiences with OpenStack

How To Build An Openstack Cloud System

One-click Hadoop Cluster Deployment on OpenPOWER Systems Pradeep K Surisetty IBM. #OpenPOWERSummit

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

OpenStack Assessment : Profiling & Tracing

rackspace.com/cloud/private

Research of Enterprise Private Cloud Computing Platform Based on OpenStack. Abstract

Cloud Platform Comparison: CloudStack, Eucalyptus, vcloud Director and OpenStack

Cloud Computing using

Automated Configuration of Open Stack Instances at Boot Time

SYNNEFO: A COMPLETE CLOUD PLATFORM OVER GOOGLE GANETI WITH OPENSTACK APIs VANGELIS KOUKIS, TECH LEAD, SYNNEFO

FIA Athens 2014 ~OKEANOS: A LARGE EUROPEAN PUBLIC CLOUD BASED ON SYNNEFO. VANGELIS KOUKIS, TECHNICAL LEAD, ~OKEANOS

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

Getting Started with OpenStack and VMware vsphere TECHNICAL MARKETING DOCUMENTATION V 0.1/DECEMBER 2013

Active Fabric Manager (AFM) Plug-in for VMware vcenter Virtual Distributed Switch (VDS) CLI Guide

CLOUDSTACK VS OPENSTACK. Apache CloudStack: It Just Works for Service Providers

Déployer son propre cloud avec OpenStack. GULL François Deppierraz

How to Deploy OpenStack on TH-2 Supercomputer Yusong Tan, Bao Li National Supercomputing Center in Guangzhou April 10, 2014

KVM, OpenStack, and the Open Cloud

KVM, OpenStack, and the Open Cloud

RED HAT INFRASTRUCTURE AS A SERVICE OVERVIEW AND ROADMAP. Andrew Cathrow Red Hat, Inc. Wednesday, June 12, 2013

Nessus or Metasploit: Security Assessment of OpenStack Cloud

Agile Infrastructure: an updated overview of IaaS at CERN

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Performance Testing of an IAAS Cloud Software (A CloudStack Use Case)

What is OpenStack? Mike Buzzetti IBM

Isabell Sippli Cloud Architect, Lab Based Services IBM Software Group 2013 IBM Corporation

OpenStack Manila Shared File Services for the Cloud

SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment

NephOS A Licensed End-to-end IaaS Cloud Software Stack for Enterprise or OEM On-premise Use.

An Introduction to OpenStack and its use of KVM. Daniel P. Berrangé

Fusion Service Schedule Virtual Data Centre ( VDC ) Version FUS-VDC-7.1

Quick Start Guide for VMware and Windows 7

OPEN CLOUD INFRASTRUCTURE BUILT FOR THE ENTERPRISE

OpenStack Tutorial. IEEE CloudCom Bret Piatt Community Stacker

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

Establishing Scientific Computing Clouds on Limited Resources using OpenStack

Sales Slide Midokura Enterprise MidoNet V1. July 2015 Fujitsu Limited

Stanislav Ulrych CTO RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

How To Build A Cloud Stack For A University Project

Research trends in abstraction of networks and orchestration of network services

IBM Cloud Manager with OpenStack

Prepared for: How to Become Cloud Backup Provider

The deployment of OHMS TM. in private cloud

How To Use Openstack On Your Laptop

Installation Guide Avi Networks Cloud Application Delivery Platform Integration with Cisco Application Policy Infrastructure

FUJITSU Software ServerView Cloud Monitoring Manager V1 Introduction

How To Test Cloud Stack On A Microsoft Powerbook 2.5 (Amd64) On A Linux Computer (Amd86) On An Ubuntu) Or Windows Xp (Amd66) On Windows Xp (Amd65

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

Iaas for Private and Public Cloud using Openstack

Apache CloudStack 4.x (incubating) Network Setup: excerpt from Installation Guide. Revised February 28, :32 pm Pacific

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

How To Install Openstack On Ubuntu (Amd64)

SUSE Cloud Installation: Best Practices Using a SMT, Xen and Ceph Storage Environment

How To Install Eucalyptus (Cont'D) On A Cloud) On An Ubuntu Or Linux (Contd) Or A Windows 7 (Cont') (Cont'T) (Bsd) (Dll) (Amd)

Mirantis OpenStack 6. with VMware vcenter and NSX. Mirantis Reference Architecture. US HEADQUARTERS Mountain View, CA

Wojciech Furmankiewicz Senior Solution Architect Red Hat CEE

DevOps in OpenStack Public Cloud 副 标 题 副 标 题 副 标 题 Presented at OpenStack Summit, Fall 2012, San Diego

SUSE Cloud 5 Private Cloud based on OpenStack

Transcription:

การใช งานและต ดต งระบบ OpenStack ซอฟต แวร สาหร บบร หารจ ดการ Cloud Computing เบ องต น Kasidit Chanchio kasidit@cs.tu.ac.th Thammasat University Vasinee Siripoonya Electronic Government Agency of Thailand Phithak Thaenkaew LSR, NECTEC

Outline Objectives Part I: OpenStack Overview How OpenStack components work Keystone Nova Glance Part II: Demo Use Cases

Objectives ศ กษาเทคโนโลย Cloud Computing เพ อใช เป นพ นฐานในการ ว จ ยและสร างความร ใหม ส งเสร มการสร างกล มผ ใช งานและพ ฒนาระบบ OpenStack หร อ OpenStack Community ในประเทศ สร างความร วมม อระหว างองค กรและผ สนใจ ส งเสร มการใช งานและพ ฒนาซอฟต แวร แบบ Open Source

Objectives to build our private cloud Create a Cloud Computing Platform to support research at Thammasat University and partner organizations Accumulate practical knowledge and experiences on Cloud deployment and operations Study OpenStack Cloud OS in order to integrate our advanced Fault Resilient and Cloud management mechanisms to it

Cloud Distributed Systems that provide Services to users on-demand Focus on Infrastructure As A Service Cloud Virtualized Compute Virtualized Storage Virtualized Network

Public and Private Cloud Public Cloud: Available over Internet Pay-per-use basis Resources are shared by users from anywhere Private Cloud: Available over organization s IT infrastructure Pay by organization Resources are shared by users in same organization

Cloud Layers Applications Cloud OS Virtualization/OS Hardware/Storage/Network

Which Cloud OS should I use? Compatibility with your hypervisor/os Cloudstack comes from Citrix OpenStack uses KVM by default. It has good support and documentation on Ubuntu vcloud is definitely for vmware Maintainability Provide means to fix the system when things go wrong Community Supports Etc.

Major OpenStack and CloudStack Supporters IT Vendors OpenStack CloudStack Alcatel-Lucent X AMD Broadcom Brocade X X Cisco Dell F5 HP IBM Intel X X Juniper X X NEC NetApp X X Red Hat Suse TrendMicro X X X X X X X X X X X Communications Service Providers OpenStack CloudStack Akamai X AT&T BT (British Telecom) Deutsche Telekom Go Daddy Internap KT (Korea Telecom) X X NTT X X Yahoo Source: DOMICITY LTD. www.domicity.com X X X X X X

OpenStack is an open and scalable cloud computing platform for building private and public clouds. Invented by Rackspace and NASA. The OpenStack project is provided under the Apache 2.0 license.

Participating Companies

Main Components OpenStack Compute (Nova): Provision and manage large networks of virtual machines OpenStack Object Storage (Swift): Create petabytes of secure, reliable storage using standard hardware OpenStack Image Service (Glance): Catalog and manage massive libraries of server images

Main Components OpenStack Dashboard (Horizon) : a modular web-based user interface for all the OpenStack services. OpenStack Identity Service (Keystone) : authentication and authorization for all the OpenStack services.

OpenStack Releases Austin Oct 21, 2010 Nova Swift Glance Bexar Feb 3, 2011 Nova Swift Cactus Apr 15, 2011 Nova Swift Glance Nova Swift Glance Diablo Sep 22, 2011 Essex Apr 5, 2012 Nova Swift Glance Keystone Horizon Nova Swift Glance Keystone Horizon Quantum Cinder Folsom Sep 27, 2012 Grizzly Apr 4, 2013 Nova Swift Glance Keystone Horizon Quantum Cinder

OpenStack isn t everything Strategic Planning Consultants, Business Process Automation Operations Engineers, Technicians, IT professionals, Network Experts Systems Servers, Firewall, Load-balancer, Operating Systems OpenStack Management Tools, Storage, Virtualization Facilities Data Center, Network, Storage

Hardening OpenStack Environments Restrict network and data access to least privilege Enable security features of underlying software Configure security features of underlying OS Harden the Hypervisor Use PKI for SSL Implement database security

OpenStack Architecture

SushiCloud s System Architecture Cloud Controller: nova-compute nova-network nova-scheduler nova-api nova-volume keystone dashboard Compute Node: nova-compute Glance Server : glance-api glance-registry memcache

How OpenStack Components work Components in our focuses: Keystone Nova Glance Networking Model Not currently cover Swift

OpenStack Architecture

Keystone A central authentication and authorization User represents someone or something that can gain access through Keystone. Users come with credentials that can be checked like passwords or API keys. Tenant represents what is called the project in Nova. Users are bound to a tenant by assigning them a role on that tenant. Role represents a number of privileges or rights a user has or actions they are allowed to perform. To access a service, we have to know its endpoint. So there are endpoint templates in Keystone that provide information about all existing endpoints of all existing services.

Keystone To access some service, users provide their credentials to Keystone and receive a token. If the user, for example, wants to spawn a new VM instance in Nova, one can find an URL to Nova in the list of endpoints provided by Keystone and send an appropriate request. After that, Nova verifies the validity of the token in Keystone and should create an instance from some image by the provided image ID and plug it into some network. All the way this token travels between services so that they can ask Keystone or each other for additional information or some actions.

Keystone Control Flow User Keystone Nova Glance credentials token token + request for VM verify token token + request for image verify token image successful response

OpenStack Architecture

Nova Nova handles instances provisioning on compute resources. Nova-api initiates most activities Nova components communicate via queue and nova database Nova-scheduler decides where to launch instances Nova-compute launches instances Nova-compute periodically report host and network capabilities to Nova-scheduler

Nova Control Flow Request Nova-api Run instance Message Q Host provision Make decision: -Filter hosts - Weight hosts Novascheduler Novacompute Host provision Launch instance -Request a copy of an image from glance - VM instance uses image on local compute node host

Nova Control Flow Request Nova-api Run instance Message Q Host provision Make decision: -Filter hosts - Weight hosts Novascheduler Novacompute Host provision Launch instance Host/Network capabilities Update Capability information

OpenStack Architecture

Glance Glance manage all kinds of images to instantiate VM instances Glance-api takes image retrieval requests from nova-compute and pass them to glance-registry OpenStack create a new copy of the image on a host where the VM instance runs Glance-registry check image metadata from database Glance stores Image data in its image store (S3, HTTP, Local, Swift)

Glance Control Flow User Image retrieval Glance-api retrieve image Glanceregistry Check image s Metadata from Glance DB Image store Upload/delete Upload/delete image Update image s Metadata on Glance DB

How OpenStack Components work Components in our focuses: Keystone Nova Glance Networking Model Not currently cover Swift

OpenStack Network Model Flat Network: A network administrator specifies a subnet from which all the virtual machines pulls IP addresses from a pool of available fixed addresses. Flat DHCP Network: The server that runs nova-network is a gateway to the compute nodes running virtual machines. Instances receive their fixed IPs by doing a dhcpdiscover. Like Flat Mode, all instances are attached to a single bridge on the compute node. VLAN Network: Compute creates a VLAN and bridge for each project. The project gets a range of private IPs that are only accessible from inside the VLAN. In this mode, each project gets its own VLAN, Linux networking bridge, and subnet.

IP address Fixed IPs are IP addresses that are assigned to an instance on creation and stay the same until the instance is explicitly terminated. Floating IPs are addresses that can be dynamically associated with an instance. A floating IP address can be disassociated and associated with another instance at any time.

OpenStack Architecture

Flat network, all-in-one server installation for development setup all-in-one nova-network nova-scheduler nova-api nova-compute VM VM VM 10.0.0.2 10.0.0.3 10.0.0.4 eth0 192.168.0.1 br100: 10.0.0.1

Flat network, multiple compute nodes with a single network adapter for smoke testing or a proof of concept controller nova-network nova-scheduler nova-api compute nova-compute VM VM VM 10.0.0.2 10.0.0.3 10.0.0.4 compute nova-compute VM VM VM 10.0.0.5 10.0.0.6 10.0.0.7 eth0 eth0 eth0 192.168.0.1 192.168.0.2 192.168.0.3 br100: 10.0.0.1 br100 br100 Note: OpenStack uses NAT to assign floating IP to VMs

Flat network, multiple compute nodes with multiple network adapters for separate admin and data traffic 192.168.0.1 192.168.0.2 eth1 eth1 eth1 controller compute compute 192.168.0.3 nova-network nova-scheduler nova-api nova-compute VM VM VM 10.0.0.2 10.0.0.3 10.0.0.4 nova-compute VM VM VM 10.0.0.5 10.0.0.6 10.0.0.7 eth0 br100: 10.0.0.1 eth0 br100 eth0 br100

Flat DHCP network, multiple interfaces, multiple servers for High Availability Networking controller nova-compute nova-network 99.99.99.1 compute 99.99.99.2 eth0 eth0 eth0 nova-compute nova-network public switch compute 99.99.99.3 nova-compute nova-network VM VM VM 10.0.0.4 10.0.0.5 10.0.0.6 VM VM VM 10.0.0.7 10.0.0.8 10.0.0.9 VM VM VM 10.0.0.10 10.0.0.11 10.0.0.12 eth1 br100: 10.0.0.1 eth1 eth1 192.168.0.1 192.168.0.2 192.168.0.3 br100: 10.0.0.2 br100: 10.0.0.3 private switch

OpenStack Deployment (Essex) on SushiCloud Thammasat University eth0 controller nova-network nova-scheduler nova-api nova-compute nova-volume keystone dashboard VM VM VM 10.0.0.2 10.0.0.3 10.0.0.4 192.168.0.1 eth1 eth2 br100 10.0.0.1 compute 192.168.0.2 nova-compute VM VM VM 10.0.0.5 10.0.0.6 10.0.0.7 eth0 eth1 br100 image glance-api glance-registry memcache eth0 192.168.0.3

OpenStack Installation Instructions Scripted installation for proof-of-concept, learning, or development: DevStack (http://devstack.org/) Manual installation on Ubuntu, Debian, CentOS, Fedora or Red Hat Enterprise Linux 6 for deployment / production: OpenStack Manuals (http://docs.openstack.org/) Other Installation ISO Distribution Installation: StackOps Distro - Community Edition / Enterprise Edition ( http://www.stackops.com/) Puppet Deployment Tool (dodai-deploy): OpenStack Manuals ( http://docs.openstack.org/)

Hardware Recommendations Recommended hardware configurations for a minimum production deployment for the cloud controller nodes Server Recommended Hardware Notes Cloud Controller node (runs network, volume, API, scheduler and image services) Processor: 64-bit x86 Memory: 12 GB RAM Disk space: 30 GB (SATA or SAS or SSD) Volume storage: two disks with 2 TB (SATA) for volumes attached to the compute nodes 32-bit processors will work for the cloud controller node. A quad core server with 12 GB RAM would be more than sufficient for a cloud controller node. Network: one 1 GB Network Interface Card (NIC) Two NICS are recommended but not required. http://docs.openstack.org/

Hardware Recommendations Recommended hardware configurations for a minimum production deployment for the compute nodes Server Recommended Hardware Notes Compute nodes (runs virtual instances) Processor: 64-bit x86 Memory: 32 GB RAM Disk space: 30 GB (SATA) Network: two 1 GB NICs Note that you cannot run 64-bit VM instances on a 32-bit compute node. A 64- bit compute node can run either 32- or 64-bit VMs, however. With 2 GB RAM you can run one m1.small instance on a node or three m1.tiny instances without memory swapping, so 2 GB RAM would be a minimum for a test-environment compute node. http://docs.openstack.org/

Compute and Image System Requirements Operating System: OpenStack currently has packages for the following distributions: CentOS, Debian, Fedora, RHEL, Debian, and Ubuntu. Database: For OpenStack Compute, you need access to either a PostgreSQL or MySQL database, or you can install it as part of the OpenStack Compute installation process. Network Time Protocol: You must install a time synchronization program such as NTP. For Compute, time synchronization keeps your cloud controller and compute nodes talking to the same time server to avoid problems scheduling VM launches on compute nodes.

Our Testbed Environment Cloud Controller node (runs network, volume, API, scheduler and compute) Compute node (runs virtual instances) Each node Processor: 64-bit 12-cores 2.1 GHz Opteron Memory: 48GB RAM Disk space: 600GB Volume storage: 300GB Network: four 1Gbps NICs

Our Testbed Environment Glance node (runs image services) Processor: 64-bit two Quad core Xeon 5500 2.40Ghz Memory: 72GB RAM Disk space: 750GB Network: two 1Gbps NICs

Usage Scenario Once Upon a time, supposed you are a system admin of a small public cloud service provider company You want to create Cloud users and projects for a customer company Users access OpenStack to create and launch virtual machines by themselves

Using OpenStack Dashboard Add Users and Projects Create key-pair Launch Instance Configure Access Access Instance

Part II: Demo SuhiCloud Testbed